package com.lijie.ljblog.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

 /**
 * 网站热门内容历史记录;
 * @author : http://www.chiner.pro
 * @date : 2023-5-15
 */
@ApiModel(value = "网站热门内容历史记录",description = "")
@TableName("ljPage_webSiteHotContentHistory")
@Data
public class LjpageWebsitehotcontenthistory {
    /** id */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(name = "id",notes = "")
    private Integer id ;
    /** 所属网站ID */
    @ApiModelProperty(name = "所属网站ID",notes = "")
    private Integer webId ;
    /** 获取热门时间 */
    @ApiModelProperty(name = "获取热门时间",notes = "")
    private Date time ;
    /** 新闻名称 */
    @ApiModelProperty(name = "新闻名称",notes = "")
    @TableField("title")
    private String title ;
    /** 新闻访问url */
    @ApiModelProperty(name = "新闻访问url",notes = "")
    @TableField("titleUrl")
    private String link ;
    /** 名次 */
    @ApiModelProperty(name = "名次",notes = "")
    private Integer rank ;

}